package com.project.xsf.mapper;

import com.project.xsf.entity.MDesignProcedureDetails;

import java.util.List;

public interface MDesignProcedureDetailsMapper {
    int deleteByPrimaryKey(Integer id);

    //通过MDesignProcedureid删除
    int deleteByMDesignProcedureId(Integer mDesignProcedureId);

    int insert(MDesignProcedureDetails record);

    int insertSelective(MDesignProcedureDetails record);

    MDesignProcedureDetails selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MDesignProcedureDetails record);

    int updateByPrimaryKey(MDesignProcedureDetails record);

    List<MDesignProcedureDetails> queryMDesignProcedureDetailsByPId(Integer pId);

    List<MDesignProcedureDetails> queryMDesignProcedureDetailsByProductId(String productId);



}